<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:h="http://java.sun.com/jsf/html">

<h:head>
	<title><h:outputText value="#{index.constant.doName}" /></title>
</h:head>

<h:body>
	<ui:composition template="/templates/leftright.xhtml">
		<ui:define name="left_1">
			<h:outputText value="关于我们">
			</h:outputText>
		</ui:define>
		<ui:define name="latest">
			<div class="titleBar ui_s1"><span>最新信息</span></div>
			<div class="f14bla">
				<h:dataTable value="#{articleBean.lastedArt}" var="article">
					<h:column>
						<a href="/a/#{article.key.parent.id}/#{article.key.id}.html">#{article.title}</a>
					</h:column>
					<h:column>
						<h:outputText value="#{article.editDate}">
							<f:convertDateTime timeZone="ShangHai/Asia"/>
						</h:outputText>
					</h:column>
				</h:dataTable>
			</div>
		</ui:define>
		<ui:define name="horArts">
			<div class="titleBar ui_s1"><span>热门文章</span></div>
			<div class="f14bla"><h:dataTable value="#{articleBean.hotArts}"
				var="article">
				<h:column>
					<a href="/a/#{article.key.parent.id}/#{article.key.id}.html">#{article.title}</a>
				</h:column>
				<h:column>
					#{article.view }
				</h:column>
			</h:dataTable></div>
		</ui:define>
	</ui:composition>

	<h:outputText value="#{index.linkStr}"></h:outputText>
</h:body>
</html>